:root {
  --border-color: #1350C6;
  --fill-water-color:#6AB2F8;
}
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-image: -moz-linear-gradient(135deg, rgb(204, 222, 255), rgb(158, 174, 255));

  background-image: -webkit-linear-gradient(135deg, rgb(204, 222, 255), rgb(158, 174, 255));

  background-image: linear-gradient(135deg, rgb(204, 222, 255), rgb(158, 174, 255));
}

.container {
  width: 100%;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h3 {
  margin: 0;
}

.water {
  margin: 20px auto;
  width: 120px;
  height: 320px;
  background: #fff;
  color:var(--border-color);
  border: 4px solid;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  font-size: 14px;
}

.noFinish {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  transition: 0.4s linear;
}

.noFinish .goal {
  font-weight: bold;
}

.finish {
  height: 0;
  font-size: 18px;
  font-weight: bold;
  background-color: var(--fill-water-color);
  border-bottom-left-radius: 26px;
  border-bottom-right-radius: 26px;
  transition:0.4s linear;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cups {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 10px;
  width: 250px;
  padding: 10px;
}

.cup {
  width: 22%;
  height: 80px;
  padding: 10px;
  margin: 10px auto;
  background: #fff;
  border: 2px solid;
  color:var(--border-color);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  font-size: 14px;
  word-break: break-all;
  display: flex;
  align-items: center;
  /* 忘了加个过渡效果 */
  transition: 0.4s ease;
}

.cup.active {
  background-color: var(--fill-water-color);
  color: #fff;
}


